package org.laot.searchManage.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 动态菜单路由Vo
 * @author laoT
 * @date 2024/2/2
 */
@Data
@EqualsAndHashCode
public class MenusVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 菜单Id
     */
    @ApiModelProperty("菜单Id")
    private Integer id;
    /**
     * 菜单名称
     */
    @ApiModelProperty("菜单名称")
    private String menuName;
    /**
     * 路径
     */
    @ApiModelProperty("路径")
    private String frontPath;
    /**
     * 父id
     */
    @ApiModelProperty("父id")
    private Integer parentId;
    /**
     * 子菜单
     */
    @ApiModelProperty("子菜单")
    private List<MenusVo> child;

}